From 699c75f637bc6029aa09c34818eff38088363d4a Mon Sep 17 00:00:00 2001 From: "caleb@2b0d6f0eabf955cc8fd04c634b09f0ca4aad9233" Date: Thu, 25 Sep 2025 23:04:55 +0000 Subject: [PATCH] --- ..._20250925__44___variable_not_in_scope_error.mdwn | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/bugs/Compiling_20250925__44___variable_not_in_scope_error.mdwn diff --git a/doc/bugs/Compiling_20250925__44___variable_not_in_scope_error.mdwn b/doc/bugs/Compiling_20250925__44___variable_not_in_scope_error.mdwn new file mode 100644 index 0000000000..5ae44072f5 --- /dev/null +++ b/doc/bugs/Compiling_20250925__44___variable_not_in_scope_error.mdwn @@ -0,0 +1,13 @@ +I'm attempting to update Arch Linux packaging ... the major caveat being we're stuck using an old (9.4.8) version of `ghc` for now... + +Building the latest tagged release now produces this error: + +``` +Utility/OpenFd.hs:28:9: error: + Variable not in scope: when :: Bool -> IO () -> IO a0 + | +28 | when closeonexec $ + | ^^^^ +``` + +I'm not sure this error is directly caused by the antiquated compiler, but also not sure how to debug this further or work around it either. -- 2.30.2